package com.CreationalPartterns.StaticFactoryMethod;

public class Client {

	public static void main(String[] main){
		Operation oper;
		oper=OperationFactory.createOperation('+');
		oper.setNum1(2.0); 
		oper.setNum2(1.0);
		System.out.println(oper.getResult());
	}
}
